package com.hnas.core.jms.artifact;

import com.hnas.core.jms.JobArtifact;

public class ClearPnrArtifact  extends JobArtifact{
	/**
	 * 
	 */
	private static final long serialVersionUID = 4503766372503120355L;
	private String pnr;
	private String id;
	private String orderNo;
	private boolean hasSpaSegment;
	private boolean sucess = false;
	private int retry;
	
	public ClearPnrArtifact() {
		this(	"HU");
	}
	public ClearPnrArtifact(String airline) {
		super("ClearPnrArtifact", "ClearPnrArtifact",
				airline);
	}
//	@Override
	public String toString() {
		return "ClearPnrArtifact [pnr=" + pnr + ", orderNo=" + orderNo
				+ ", sucess=" + sucess + ", retry=" + retry + "]";
	}
	public String getPnr() {
		return pnr;
	}
	public void setPnr(String pnr) {
		this.pnr = pnr;
	}
	public String getOrderNo() {
		return orderNo;
	}
	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}
	public boolean isSucess() {
		return sucess;
	}
	public void setSucess(boolean sucess) {
		this.sucess = sucess;
	}
	public int getRetry() {
		return retry;
	}
	public void setRetry(int retry) {
		this.retry = retry;
	}
	public boolean isHasSpaSegment() {
		return hasSpaSegment;
	}
	public void setHasSpaSegment(boolean hasSpaSegment) {
		this.hasSpaSegment = hasSpaSegment;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}

}
